package com.china08.yxyapi.entity.db.huodong.lecture;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityNoId;

/**
 * 备课包大赛结果统计,按照学校 </br>
 * 在yw中需要查询 , yx 的学校信息, 可以先在本表中查询是否有数据,然后进行更新.
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_huodong_lecture_result_school", catalog = "yxy_huodong")
public class YxyHuodongLectureResultSchool extends BaseEntityNoId {

    /**
     * 学校id
     */
    @Id
    private String schoolId;

    /**
     * 学校名称
     */
    @Column(name = "school_nick")
    private String schoolNick;

    /** 行政区域:省ID */
    @Column(name = "area_id_province")
    private String areaIdProvince;

    /** 行政区域:省ID */
    @Column(name = "area_name_province")
    private String areaNameProvince;

    /** 行政区域:市ID */
    @Column(name = "area_id_city")
    private String areaIdCity;

    /** 行政区域:市ID */
    @Column(name = "area_name_city")
    private String areaNameCity;

    /** 行政区域:区县ID */
    @Column(name = "area_id_district")
    private String areaIdDistrict;

    /** 行政区域:区县ID */
    @Column(name = "area_name_district")
    private String areaNameDistrict;

    /**
     * 备课包数量
     */
    @Column(columnDefinition = "bigint(20) default 0 comment '备课包数量' ")
    private Long packCount = 0l;

    @Column(columnDefinition = "int default 0 comment '学校教师数量' ")
    private Integer teaCount = 0;

    public Integer getTeaCount() {
        return teaCount;
    }

    public void setTeaCount(Integer teaCount) {
        this.teaCount = teaCount;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolNick() {
        return schoolNick;
    }

    public void setSchoolNick(String schoolNick) {
        this.schoolNick = schoolNick;
    }

    public String getAreaIdProvince() {
        return areaIdProvince;
    }

    public void setAreaIdProvince(String areaIdProvince) {
        this.areaIdProvince = areaIdProvince;
    }

    public String getAreaNameProvince() {
        return areaNameProvince;
    }

    public void setAreaNameProvince(String areaNameProvince) {
        this.areaNameProvince = areaNameProvince;
    }

    public String getAreaIdCity() {
        return areaIdCity;
    }

    public void setAreaIdCity(String areaIdCity) {
        this.areaIdCity = areaIdCity;
    }

    public String getAreaNameCity() {
        return areaNameCity;
    }

    public void setAreaNameCity(String areaNameCity) {
        this.areaNameCity = areaNameCity;
    }

    public String getAreaIdDistrict() {
        return areaIdDistrict;
    }

    public void setAreaIdDistrict(String areaIdDistrict) {
        this.areaIdDistrict = areaIdDistrict;
    }

    public String getAreaNameDistrict() {
        return areaNameDistrict;
    }

    public void setAreaNameDistrict(String areaNameDistrict) {
        this.areaNameDistrict = areaNameDistrict;
    }

    public Long getPackCount() {
        return packCount;
    }

    public void setPackCount(Long packCount) {
        this.packCount = packCount;
    }

}
